/**
 * @FileName Client.java
 * @Package com.designMode.templateMethod
 * -------------------------------------
 * @function Please write description of function
 * @Date 2016-1-5 下午3:36:05
 * -------------------------------------
 * Copyright (c) 2016,顾博君 All Rights Reserved.
 */
package com.designMode.templateMethod;

/**
 * @ClassName Client
 * @author 顾博君
 * @Date 2016-1-5 下午3:36:05
 * @Function 场景类
 */
public class Client {
	public static void main(String[] args) {
		AbstractClass class1 = new ConcreteClass1();
		AbstractClass class2 = new ConcreteClass2();
		class1.templateMethod();// 执行模板方法
		class2.templateMethod();// 执行模板方法
	}
}
